/**
 * 作者: hxl
 * 日期: 2024-12-13 17:50:29
 * 备注: 七天乐配置表
 */
package com.motu.monstercity.server.game.commondata.act;
import com.motu.vertx.module.utility.toolset.Tool;
import io.vertx.core.json.JsonArray;
import io.vertx.core.json.JsonObject;

public class ActDay extends ActDayModel {
    private int[] integralArray = null;
    private JsonArray integralReward = null;
    private int[] giftArray = null;

    public ActDay(JsonObject obj) {
        super(obj);
        integralArray = Tool.isEmpty(integral) ? new int[0] : Tool.strToIntArray(integral, ";");

        integralReward = Tool.isEmpty(reward) ? new JsonArray() : new JsonArray(reward);
        giftArray = Tool.isEmpty(shopId) ? new int[0] : Tool.strToIntArray(shopId, ";");
    }

    public int[] getIntegralArray() {
        return integralArray;
    }

    public JsonArray getIntegralReward() {
        return integralReward;
    }

    public int[] getGiftArray() {
        return giftArray;
    }
}
